Skip to content

Conversation

@eddieantonio
Copy link
Contributor

NOTE: this is a fixed version of #20! This resolves the conflicts introduced by that PR.

Anywhere it said Fixnum, I changed to Integer. This works for all versions of Ruby 2.x, as far as I'm aware. However 42.class may return Fixnum in older versions.

I also added a quick note for people using old versions of Ruby (mostly macOS users).

Closes #10
Closes #20

@eddieantonio
Copy link
Contributor Author

@deartrudence Thanks for getting around to these PRs! 😄 As mentioned, this is just #20, but I resolved the merge conflicts.

slides.html Outdated
Heads up! Older versions of Ruby call it `Fixnum` instead of
`Integer`. For the purposes of this workshop, whenever you see
`Integer` in your code, you can safely replace it with `Fixnum`.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest dropping this second sentence from the slides to keep it brief.

@eddieantonio
Copy link
Contributor Author

@deartrudence: it's done! Let's merge another PR for Hacktoberfest!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fixnum is now Integer

2 participants